package com.breeze.blockchain.common.enums;

import com.breeze.components.core.enums.EnumInterface;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 登陆类型
 *
 * @author breeze
 */
@Getter
@AllArgsConstructor
public enum LoginTypeEnum implements EnumInterface {
  MOBILE_CODE(1, "手机号验证码"),
  PASSWORD(2, "密码"),
  EMAIL(3, "邮箱");

  @JsonValue private final int code;
  private final String desc;
}
